-- GENERATED SPELL FOR [Venture Co. Logger] --


function spell0_3989(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3989', 500, 1)
end

function Sorts_3989(pUnit, Event)
local choix_sorts_3989 = math.random(0, 0)
if choix_sorts_3989 == 0 then
pUnit:RegisterEvent('spell0_3989', 1, 1)
end
end

function mob3989_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3989', math.random(1500, 3000), 1)
end

function mob3989_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3989_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3989_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3989, 1, 'mob3989_Action')
RegisterUnitEvent(3989, 2, 'mob3989_Leave')
RegisterUnitEvent(3989, 3, 'mob3989_Kill')
RegisterUnitEvent(3989, 4, 'mob3989_Die')
